package com.cn.lyl.service.impl;

import com.cn.lyl.dao.ServiceTypeDao;
import com.cn.lyl.dao.impl.ServiceTypeDaoImpl;
import com.cn.lyl.model.ServiceTypeModel;
import com.cn.lyl.service.ServiceTypeService;

import java.util.List;

public class ServiceTypeServiceImpl implements ServiceTypeService {
    @Override
    public List<ServiceTypeModel> findAll() {
        ServiceTypeDao serviceTypeDao = new ServiceTypeDaoImpl();
        return serviceTypeDao.findAll();
    }
}
